package com.fourhats.dao;

import com.fourhats.model.VisitEntity;

public interface VisitEntityDAO extends GenericDAO<VisitEntity, Long> {

	long getQtyVisits(long entityId, int entityType);
	
	boolean hasVisitInHour(long entityId, int entityType, long userId, int hour);

	VisitEntity getLastByUserAndType(long userId, int entityType);
}
